package com.seecen.myspringboot.entity;

import java.awt.print.Book;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @TableName T_BOOK_CATEGORY
 */
@Data
@TableName("T_BOOK_CATEGORY")
public class BookCategory implements Serializable {
    @TableId
    private Integer bookCategoryId;
    private String bookCategoryName;

    @TableField(exist = false)  // 告诉苞米豆 忽略该字段
    private List<Book> books;

    private static final long serialVersionUID = 1L;
}